package com.example.smartcane;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class ConnectionActivity extends Activity implements OnClickListener {

	Button connection_btn;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_connection);
		
		connection_btn = (Button)findViewById(R.id.connection_btn_next);
		connection_btn.setOnClickListener(this);
	}

	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		switch (v.getId()) {
		case R.id.connection_btn_next:
			Intent it = new Intent(ConnectionActivity.this, MainActivity.class);
			startActivity(it);
			finish();
			break;
		}
	}
}
